package com.example.document

import com.example.document.entity.DocEntity
import kotlinx.coroutines.flow.Flow
import okhttp3.RequestBody
import retrofit2.http.Body
import retrofit2.http.POST

interface ApiService {

    @POST("/document/seldocuments")
    fun selDocuments(@Body body: RequestBody):Flow<DocEntity>

    @POST("/document/deldocuments")
    fun delDocuments(@Body body: RequestBody):Flow<DocEntity>
}